package com.jwds.digital.bios.business.core.infrastructure.dto.belt;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;


/**
 * 路线作业实绩皮带详情表
 *
 * @author 林柏云
 * @date 2024-12-19
 */
@Data
@ApiModel(value="BeltRouteTaskBeltDetail请求对象")
public class BeltRouteTaskBeltDetailReqDTO {

  @ApiModelProperty(value = "主键ID")
  private Long id;

  @ApiModelProperty(value = "任务id")
  private Long taskId;


  @ApiModelProperty(value = "任务类型")
  private String taskType;


  @ApiModelProperty(value = "皮带code")
  private String beltCode;


  @ApiModelProperty(value = "路线code")
  private String routeCode;


  @ApiModelProperty(value = "路线唯一标识")
  private Short flowNo;


  @ApiModelProperty(value = "计算开始时间")
  private LocalDateTime startTime;


  @ApiModelProperty(value = "计算结束时间")
  private LocalDateTime endTime;


  @ApiModelProperty(value = "运行时长，单位分钟")
  private BigDecimal runningTime;


  @ApiModelProperty(value = "负载运行时长，单位分钟")
  private BigDecimal loadRunningTime;


  @ApiModelProperty(value = "空载运行时长，单位分钟")
  private BigDecimal unLoadRunningTime;


  @ApiModelProperty(value = "运输量")
  private BigDecimal totalTransport;


  @ApiModelProperty(value = "运输效率（t/h）")
  private BigDecimal transportEfficiency;


  @ApiModelProperty(value = "平均负载率")
  private BigDecimal avgAllLoadRate;


  @ApiModelProperty(value = "平均负载负载率")
  private BigDecimal avgLoadRate;


  @ApiModelProperty(value = "平均空载负载率")
  private BigDecimal avgUnLoadRate;


  @ApiModelProperty(value = "总耗电量")
  private BigDecimal totalPowerConsumption;


  @ApiModelProperty(value = "负载耗电量")
  private BigDecimal loadPowerConsumption;


  @ApiModelProperty(value = "空载耗电量")
  private BigDecimal unLoadPowerConsumption;


  @ApiModelProperty(value = "负载耗电量占比")
  private BigDecimal loadPowerConsumptionRate;


  @ApiModelProperty(value = "空载耗电量占比")
  private BigDecimal unLoadPowerConsumptionRate;


  @ApiModelProperty(value = "耗电类型:1尖、2峰、3平、4谷")
  private Integer powerType;


  @ApiModelProperty(value = "运行效率")
  private BigDecimal operationEfficiency;


  @ApiModelProperty(value = "吨料耗电量")
  private BigDecimal tonPowerConsumption;


  @ApiModelProperty(value = "平均阻力")
  private BigDecimal avgResistance;


  @ApiModelProperty(value = "创建时间")
  private LocalDateTime createTime;


  @ApiModelProperty(value = "更新时间")
  private LocalDateTime modifyTime;


  @ApiModelProperty(value = "创建人")
  private String createUser;


  @ApiModelProperty(value = "更新人")
  private String modifyUser;


  @ApiModelProperty(value = "逻辑删除:0-未删除,1-已删除")
  private Integer isDeleted;

  /***********扩展字段***************/

  @ApiModelProperty(value = "物料名称")
  private String materielName;

  @ApiModelProperty(value = "开始时间")
  private LocalDateTime startDate;

  @ApiModelProperty(value = "结束时间")
  private LocalDateTime endDate;

}
